Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating the default config to be compatible with adult recordings. #173

Merged
merged 5 commits into from
Nov 10, 2024

Conversation

christian-oreilly
Copy link
Collaborator

Our default configuration came from the EEG-IP project. This project is in infants which have notoriously noisy data. These parameters are not optimal for adult defaults and the default configuration should not be for such a specific population. This PR creates two configs, one for adults and one for infants. It provides the capability to load the infant default config, but if nothing is specified, it will load the adult default config. It also cleans up some unused arguments in these config files.

@christian-oreilly christian-oreilly self-assigned this Nov 9, 2024
Copy link

codecov bot commented Nov 9, 2024

Codecov Report

Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Project coverage is 71.90%. Comparing base (0cc087b) to head (cf926a9).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pylossless/config/config.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #173      +/-   ##
==========================================
- Coverage   71.93%   71.90%   -0.04%     
==========================================
  Files          22       22              
  Lines        1176     1178       +2     
==========================================
+ Hits          846      847       +1     
- Misses        330      331       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@scott-huberty scott-huberty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @christian-oreilly !!!

with pytest.raises(ImportError, match="Missing optional dependency 'astropy'."):
# choosing a package that will probably never be added to the requirements!
check.import_optional_dependency("astropy")
package = "sdgssfersfsdesdfsefsdfsdt"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aha nice ; )

@scott-huberty scott-huberty merged commit b3a481b into main Nov 10, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants